package com.arsProfundis.dal.mappers

trait Mapper[A, B] {
	def apply(source: A): B
	def unapply(value: B): A
}

object Mapper {
	case object String extends Mapper[String, String] {
		override def apply(source: String) = source
		override def unapply(value: String) = value
	}
}